package com.two.service.tui.OpenFeign;

import com.two.common.entity.AliPay;
import com.two.common.util.CommonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "two-orderSystem-service-AliPay")
public interface OrderFeign {
    @PostMapping("/alipay/return")
    public CommonResult returnPay(@RequestBody AliPay aliPay);
}
